﻿using Frame.Core.Models;
using System.Threading.Tasks;

namespace Frame.Core.IServices.Admin
{
    public interface IRolePowerService : IBaseService<RolePowers>
    {
        /// <summary>
        /// 保存角色对应的权限
        /// </summary>
        /// <param name="roleID"></param>
        /// <param name="powers"></param>
        /// <returns></returns>
        Task SaveRolePowerAsync(int roleID, int[] powers);
    }
}
